
private int[][] zero = [
	[0,1,1,1,0],
	[1,0,0,0,1],
	[1,0,0,0,1],
	[1,0,0,0,1],
	[1,0,0,0,1],
	[0,1,1,1,0]];

private int[][] jeden = [
	[0,0,0,1,1],
	[0,0,1,0,1],
	[0,1,0,0,1],
	[0,0,0,0,1],
	[0,0,0,0,1],
	[0,0,0,0,1]];

private int[][] dwa = [
        [0,1,1,1,0],
        [1,0,0,0,1],
        [0,0,0,1,0],
        [0,1,1,0,0],
        [1,0,0,0,0],
        [1,1,1,1,1]];

private int[][] trzy = [
        [1,1,1,1,0],
        [0,0,0,0,1],
        [0,1,1,1,0],
        [0,0,0,0,1],
        [0,0,0,0,1],
        [1,1,1,1,0]];

private int[][] cztery = [
        [0,0,0,1,1],
        [0,0,1,0,1],
        [0,1,0,0,1],
        [1,1,1,1,1],
        [0,0,0,0,1],
        [0,0,0,0,1]];

private int[][] piec = [
        [1,1,1,1,1],
        [1,0,0,0,0],
        [1,1,1,1,0],
        [0,0,0,0,1],
        [1,0,0,0,1],
        [0,1,1,1,0]];

private int[][] szesc = [
        [0,1,1,1,0],
        [1,0,0,0,0],
        [1,1,1,1,0],
        [1,0,0,0,1],
        [1,0,0,0,1],
        [0,1,1,1,0]];

private int[][] siedem = [
        [1,1,1,1,1],
        [0,0,0,0,1],
        [0,0,0,1,0],
        [0,0,1,0,0],
        [0,1,0,0,0],
        [0,1,0,0,0]];

private int[][] osiem = [
        [0,1,1,1,0],
        [1,0,0,0,1],
        [0,1,1,1,0],
        [1,0,0,0,1],
        [1,0,0,0,1],
        [0,1,1,1,0]];


private int[][] dziewiec = [
        [0,1,1,1,0],
        [1,0,0,0,1],
        [1,0,0,0,1],
        [0,1,1,1,1],
        [0,0,0,0,1],
        [0,1,1,1,0]];

int[] scal(int[][] a){
	int[] ret;
	for(int i = 0; i < a.length; i++)
		ret ~= a[i];
	return ret;
}

int[] [int] cyfry;
static this() {
	cyfry[0] = scal(zero);
	cyfry[1] = scal(jeden);
	cyfry[2] = scal(dwa);
	cyfry[3] = scal(trzy);
	cyfry[4] = scal(cztery);
	cyfry[5] = scal(piec);
	cyfry[6] = scal(szesc);
	cyfry[7] = scal(siedem);
	cyfry[8] = scal(osiem);
	cyfry[9] = scal(dziewiec);
}
